Skip to content

Conversation

@KianNH
Copy link
Member

@KianNH KianNH commented Jan 27, 2025

Summary

Rewrite /api/ links to point at production so they work when browsing from astro dev or in preview URLs.

@cloudflare-workers-and-pages
Copy link

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1d3d07c
Status: ✅  Deploy successful!
Preview URL: https://1ef83de0.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://kian-pcx-15555.cloudflare-docs-7ou.pages.dev

View logs

@KianNH
Copy link
Member Author

KianNH commented Feb 3, 2025

Will abandon this approach and instead look at something like Astro middleware that is only registered in dev.

@KianNH KianNH closed this Feb 3, 2025
@KianNH KianNH deleted the kian/PCX-15555 branch February 3, 2025 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants